package csu.big_article.service;

import csu.big_article.pojo.User;

public interface UserService {
    public User findUserById(Integer id);

    public User findUserByName(String name);

    public void register(String username, String password);

    public void update(User user);

    public void updateAvatar(String avatarUrl);

    public void updatePwd(String newPwd);
}
